import request from "../utils/request";

// 登录
export const loginApi = (body) => {
    return request('/login', {
        method: 'post',
        body
    })
}

// 根据用户名获取权限菜单
export const getMenuApi = (username) => {
    return request(`/menu?username=` + username)
}